package com.example.demo.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author ：llj
 * @description：*******
 * @date ：2022/9/4 0004 22:14
 */
@RestController
@RequestMapping("/stock")
public class StockController {

    @RequestMapping("/add")
    public String add(){
        System.out.println("stock添加!");
        return "hello stock";
    }

}
